;;  This is the first file in the distribution that will be loaded.
;;  It should load any subsequent files that are needed.

;;  Place the following three lines in your .emacs, appropriately changing the
;;  path in the first line.
;;
;;  (defvar ab-config/home "c:\\abhijits-emacs-config\\")
;;  (setq load-path  (append (list ab-config/home) load-path))
;;  (load "startup.el")
;;
;;  If you wish to use perltidy, also add these *before* loading startup.el:
;;  (defvar ab-config/perl-invocation "perl") ;; Or the path to it
;;  (defvar ab-config/perltidy-path "/usr/bin/perltidy") ;; use appropriate path

(setq load-path
      (append (list ab-config/home
                    (concat ab-config/home "yas")) load-path))
(setq image-load-path
      (append (list
               (concat ab-config/home "images\\")) image-load-path))


(load "keybindings")
(load "perl")
(load "visual_dabbrev")
(load "yas")

(cua-mode)

;; turn on font-lock mode
(global-font-lock-mode t)
;; enable visual feedback on selections
(setq-default transient-mark-mode t)
;; always end a file with a newline
(setq require-final-newline nil)
;; stop at the end of the file, not just add lines
(setq next-line-add-newlines nil)


(display-time)
(setq make-backup-files nil)

(setq dabbrev-case-fold-search nil)
(setq dabbrev-case-replace nil)
(global-set-key "\`" 'dabbrev-expand)


(abbrev-mode 1)
(x-set-selection 'PRIMARY "")

(setq-default indent-tabs-mode nil)
(setq fill-column 78)
(setq auto-fill-mode t)
